<?php

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class StatusCodesTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('status_codes')->insert([
            [
                'status_code' => 'staffer_sex',
                'code' => 1,
                'code_desc' => '男',
                'created_at' => my_now_date_time(),
                'updated_at' => my_now_date_time(),
            ],
            [
                'status_code' => 'staffer_sex',
                'code' => 2,
                'code_desc' => '女',
                'created_at' => my_now_date_time(),
                'updated_at' => my_now_date_time(),
            ],
            [
                'status_code' => 'staffer_sex',
                'code' => 3,
                'code_desc' => '保密',
                'created_at' => my_now_date_time(),
                'updated_at' => my_now_date_time(),
            ],
            [
                'status_code' => 'staffer_duty_status',
                'code' => 1,
                'code_desc' => '在职',
                'created_at' => my_now_date_time(),
                'updated_at' => my_now_date_time(),
            ],
            [
                'status_code' => 'staffer_duty_status',
                'code' => 2,
                'code_desc' => '离职',
                'created_at' => my_now_date_time(),
                'updated_at' => my_now_date_time(),
            ],
            [
                'status_code' => 'staffer_departure_type',
                'code' => 1,
                'code_desc' => '主动离职',
                'created_at' => my_now_date_time(),
                'updated_at' => my_now_date_time(),
            ],
            [
                'status_code' => 'staffer_departure_type',
                'code' => 2,
                'code_desc' => '辞退',
                'created_at' => my_now_date_time(),
                'updated_at' => my_now_date_time(),
            ],

        ]);
    }
}
